package com.dayuanit.space.car;

public class MoonCar extends Car {

	public static final String point_format = ">>>>坐标[%s, %s]<<<<";

	public MoonCar(String name) {
		super(name);
	}

	public void printOrder(char order) {
		System.out.println(name + "执行指令" + order);
	}

	public void printPoint(int x, int y) {
		String msg = String.format(point_format, x, y);
		System.out.println(msg);

		// System.out.println("坐标["+x+", "+y+"]");
	}
}